./bin/mg5_aMC mg5>tutorial
./bin/mg5_aMC mg5> generate p p > t t~ mg5> output YourFolderName mg5> launch YourFolderNameThen work with data files.
./bin/mg5_aMC import model MyModelとすると使う模型をインストールできる。PDGがどうとか怒られたら、
./bin/mg5_aMC import model MyModel -modelnameとする。("-modelname" をつける。)
import model MyModel -modelname generate p p > w+ z output hogehoge launch hogehoge解説
helpと打つと、許されるコマンドが出てくる。
help コマンド名とする。例えば
help generateとすると、generate の使い方を色々教えてくれる。
compute_widths zp --body_decay=2.0025これをすると、ディレクトリの中に param_card.dat が出来て、計算した幅が書き込まれる。 param_card.dat がある場合は、上書きしてくれる。 実際は、一度にたくさんの新粒子の幅を計算したいので、
compute_widths w+ wp+ t hp+ z zp h1 h2 a0 --body_decay=2.0025のように、スペースを空けて粒子の名前を書きまくる。
【オプション(--body_decay=2.0025)の意味】
小数点の前が、何体崩壊まで計算するかを指定する数。
小数点以下は精度らしい
このオプションが無いと、3体崩壊も計算し始めるが、4点相互作用を無視して計算するようなので (2015 Nov. 2nd)、信頼できない。例えばW' の崩壊のときには注意。
param_card のwidthの部分に数字の代わりに Auto と書いても自動でやってくれるが、 3体崩壊が入る場合があり、上に書いた理由で信用できない。
4点相互作用も入れて計算するには、calchepを使うか、
generate wp+ > w+ w+ w-とかすれば良い。が、手間である。また、ダブルカウンティングに注意しないといけない。
【pdf の指定】
run_card の中の次の部分を見る。
#************.... # PDF CHICE: .... #************.... hoge = pdlabelのhogeを適当に書き換える。例えば、cteq6_l, cteq6l1 など。 何を書いていいのかわからない場合は、適当に書いて先に進むと、教えてくれるので、 自分の名前でも書いておく。
【スケールの指定】 run_card の中の次の部分を見る。
#********************************************************************* # Renormalization and factorization scales * #********************************************************************* False = fixed_ren_scale ! if .true. use fixed ren scale False = fixed_fac_scale ! if .true. use fixed fac scale 91.188 = scale ! fixed ren scale 91.188 = dsqrt_q2fact1 ! fixed fact scale for pdf1 91.188 = dsqrt_q2fact2 ! fixed fact scale for pdf2 -1 = dynamical_scale_choice ! Choose one of the preselected dynamical choices 1.0 = scalefact ! scale factor for event-by-event scalesプロセスに関わらず、具体的な数字をぶち込みたい場合は、最初のFalse を True にして、下に書いてある数字を変える。
プロセスによって数字を変えたい場合には、False のままにする。数字は関係ないので無視。 すると pt とかでスケールを決めてくれる。 具体的には dynamical_scale_choice の数字がスイッチになっていて -1 だと デフォルトのスケールの決め方を使用する。デフォルトが何かは、 ここ に書いてあるが、別のページで違うことを書いてあるのを見た気がする。 また、他の数字は何があるのかは、 ここ に書いてあるのを信用すると、
-1 : MadGraph5_aMC@NLO default (different for LO/NLO/ ickkw mode) same as previous version. 0 : Tag reserved for user define dynamical scale (need to be added in setscales.f). 1 : Total transverse energy of the event. 2 : sum of the transverse mass 3 : sum of the transverse mass divide by 2 4 : \sqrt(s), partonic energyだそうです。
launch muTHDM_3lep8TeV -n run_MH100 set ebeam1 4000 set ebeam2 4000 set MH0 100 compute_widths h0 a0 h+ --body_decay=2.0025 launch -n run_MH150 set MH0 150 compute_widths h0 a0 h+ --body_decay=2.0025 launch -n run_MH200 set MH0 200 compute_widths h0 a0 h+ --body_decay=2.0025次に
./bin/mg5_aMC mh0_scan.txtをする。これで MH0 = 100, 150, 200 の場合の結果ができる。
mg5>define P = g u u~ c c~ d d~ s s~ mg5>open index.html mg5>display particles mg5>display interactions mg5>display multiparticles mg5>histry hogehoge.dat (<- save the commands you type.) mg5>import command hogehoge.dat (<- load the commands you type.) ./bin/mg5 hogehoge.dat (<- another way to load.) mg5>open ./hogehoge.dat (<- you can read it.)
This is a memo how to move to Madgraph5 from Madgraph4. I assume reader know how to use Madgraph4. If you find any mistakes, please tell me. We can still use model files made for Madgraph4. I could not do ./bin/new_process in Madgphaph5. I received the message that "We cannot find UFO files." and so on. To use model files made for Madgraph4, we can do ./bin/mg5 then (I assumed your model file named "your_model_name") mg5>import model_v4 your_model_name mg5>generate p p > j j h QED=3, h > z z @1 mg5>add process p p > j j h QED=3, h > w- w+ @2 mg5>add process ..... mg5>output hogehoge mg5>launch hogehoge After you do output command, you will find a directory named hogehoge. We can also generate event in this directory. When you use madgraph4 model file in madgraph5 to generate events, you may face to an error which tells you that madgraph can not find include dimension.inc and so on. In this case you should try to do the followings: >./bin/change_complier.py gfortran After that try to generate events again. (Notice that you need gfortran compiler.) If you still error message after you choose gfortran as the compiler, you need check how was your param_card.dat generated. I think you used "BRIDGE" to calculate the decay widthes of your new particles. BRIDGE asks you to replace the param_card.dat with the one BRIDGE made. You should NOT answer "yes". You should answer "no". In my experience, the param_card.dat which made by BRIDGE does not work. BRIDGE made the "slha.out" in which decay widthes are written. You can copy the decay widthes in this file to you param_card.dat by yourself. (Maybe, you should not write the decay widthes of SM particles except the Higgs boson. ) This is a boring task, but then you may successfully generate event. In ./bin/mg5, we can choose whether we run pythia and PGS or not even after we installed pythia and PGS.